<%@ page contentType="text/html" language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib  uri="/struts-tags" prefix="s"%>
<jsp:include page="../include/_dwz_form_head.jsp" />
<div class="pageHeader" style="border:1px #B8D0D6 solid"><%-- ?b_T_Ufp_EngineerMaterial.positionUuid=${b_T_Ufp_EngineerMaterial.positionUuid}&b_T_Ufp_EngineerMaterial.positionName=${b_T_Ufp_EngineerMaterial.positionName} --%>
	<form rel="pagerForm" onsubmit="return divSearch(this, 'engineerCategoryList');" action="projectmanagement/EngineerMaterial_engineerMaterialList?categoryStatus=${categoryStatus}&b_T_Ufp_EngineerMaterial.engineeringUuid=${b_T_Ufp_EngineerMaterial.engineeringUuid}&isupdate=${isupdate}" method="post" >
        <div class="searchBar">
           <table class="searchContent">
				<tr>
					<td class="dateRange">
						 客户自选材料
					</td>
					<td>
						小计:${totalamount}元
					</td>
			
				</tr>
			</table>
            </div>
        </div>
    </form>
<div class="pageContent" style="border-left:1px #B8D0D6 solid;border-right:1px #B8D0D6 solid">
    <div class="panelBar">
        <ul class="toolBar">
            <li>
                <a class="add" href="systemsetting/MaterialCategory_materialCategoryRecycling?categoryStatus=${categoryStatus}&positiontype=${b_T_Ufp_EngineerMaterial.engineeringUuid}&isupdate=${isupdate}" target="dialog" rel="materialCategoryRecyclingDetail" width="1155" height="580" maxable="false" resizable="false" mask="true"><span>添加材料</span></a>
            </li>
            <li>
                <a title="确实要删除这些记录吗?" target="selectedTodo" rel="checkIds" href="projectmanagement/EngineerMaterial_engineerMaterialDelete" class="delete"><span>删除</span></a>
          	</li>
          	<li>
          	<a title="自定义" target="dialog"  width="530" height="460" href="projectmanagement/EngineerMaterial_engineerMaterialDetail?b_T_Ufp_EngineerMaterial.engineeringUuid=${b_T_Ufp_EngineerMaterial.engineeringUuid}" rel="editMsg" class="add"><span>自定义</span></a>
          	</li>
            <li class="line">
                line
            </li>
           
        </ul>
    </div>
    <table class="table" width="100%" layoutH="148">
        <thead>
            <tr>
                <th width="2%">
                    <input type="checkbox" name="checkIds" group="checkIds" class="checkboxCtrl">
                </th>
               <!--  <th width="2%" >
              序号        
                </th> -->
                 <th width="10%" >
           材料编号
                </th>
                 <th width="10%" >
           材料名称
                </th>
             
                <th width="5%" >
                 单位
                </th>
                 <th width="5%">
                规格
                </th>
                 <th width="5%" >
                品牌
                </th>
                  <th width="5%">
                饰面
                </th>
                 <th width="5%">
                产地
                </th>
                 <th width="5%">
               客户报价
                </th>
                <th width="5%">
               订购数量
                </th>
                 <th width="5%">
               总计
                </th>
                <!--   <th width="10%" >
              附加说明
                </th> -->
                <th width="6%">
                    操作
                </th>
            </tr>
        </thead>
        <tbody>
    
        <c:forEach items="${pager.pageRecords}" var="b_T_Ufp_EngineerMaterial" varStatus="s">
            <tr target="sid_user" rel="1">
                <td>
                    <input name="checkIds" value="${b_T_Ufp_EngineerMaterial.uuid}" type="checkbox">
                </td>
                <%--  <td>
                  ${s.count +pager.pageSize*(pager.currentPage-1)}
                </td> --%>
                <td>
                    ${b_T_Ufp_EngineerMaterial.materialName }
                </td>
                 <td>
                    ${b_T_Ufp_EngineerMaterial.engineeringName }
                </td>
                  <td>
                    ${b_T_Ufp_EngineerMaterial.unit }
                </td>
                 <td>
                    ${b_T_Ufp_EngineerMaterial.materialModel }
                </td>
                <td>
                    ${b_T_Ufp_EngineerMaterial.materialBrand }
                </td>
                <td>
                    ${b_T_Ufp_EngineerMaterial.finishes }
                </td>
                <td>
                    ${b_T_Ufp_EngineerMaterial.producter }
                </td>
                <td>
                    ${b_T_Ufp_EngineerMaterial.angebotspreis }
                </td>
                 <td>
                  ${b_T_Ufp_EngineerMaterial.quantity }
                </td>
                  <td>
                  ${b_T_Ufp_EngineerMaterial.totalAmount }
                </td>
                 <%--  <td>
                  ${b_T_Ufp_EngineerMaterial.remark }
                </td> --%>
                <td>
                    <a title="删除" target="ajaxTodo" href="projectmanagement/EngineerMaterial_engineerMaterialDelete?checkIds=${b_T_Ufp_EngineerMaterial.uuid}" class="btnDel">删除</a>
                    <a title="编辑" target="dialog"  width="530" height="460" href="projectmanagement/EngineerMaterial_engineerMaterialDetail?b_T_Ufp_EngineerMaterial.uuid=${b_T_Ufp_EngineerMaterial.uuid}&isupdate=${isupdate}" rel="editMsg" class="btnEdit">编辑</a>
                </td>
            </tr>
            </c:forEach>
        </tbody>
    </table>
    <div class="panelBar">
        <!-- <jsp:include page="../include/_dwz_form_bottomAjax.jsp" /> -->
    </div>
</div>
